package cn.itcast.hotel.service;

import cn.itcast.hotel.pojo.HotelDoc;
import cn.itcast.hotel.pojo.Result;
import cn.itcast.hotel.pojo.SearchDto;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface HotelSearchService {
    Result<HotelDoc> searchAll(SearchDto searchDto) throws IOException;

    Map<String, List<String>> filters(SearchDto searchDto) throws IOException;

    List<String> getSuggestions(String key) throws IOException;
}
